package com.example.toolproject.demo.service.serviceimpl;

import com.example.toolproject.demo.domain.UserEvaluation;
import com.example.toolproject.demo.mapper.UserEvaluationMapper;
import com.example.toolproject.demo.service.UserEvaluationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserEvaluationServiceImpl
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-06-30 17:41
 **/
@Service
public class UserEvaluationServiceImpl implements UserEvaluationService {

    @Autowired
    private UserEvaluationMapper userEvaluationMapper;

    /**
     * 进行撰写的报告的评价评分
     * @param userEvaluation
     * @return
     */
    @Override
    public boolean insertUserEvaluation(UserEvaluation userEvaluation) {
        return userEvaluationMapper.insertUserEvaluation(userEvaluation);
    }
}
